package com.hhkj.admin.course.model.req;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @Author luowu
 * @Date 2024/10/23 涵 11:16:11
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class CourseShowHiddenReq extends CourseReq {

    @NotNull(message = "id不能为空")
    @Override
    public Long getId() {
        return super.getId();
    }

    @NotNull(message = "显示隐藏标识不能为空")
    @Override
    public Integer getNeedHiddenFlag() {
        return super.getNeedHiddenFlag();
    }
}
